package com.ruoyi.tb.lmt.mapper;

import com.ruoyi.tb.lmt.domain.TbLmtrepairCheckdetail;
import com.ruoyi.tb.lmt.domain.bo.TbLmtrepairCheckdetailBo;
import com.ruoyi.tb.lmt.domain.vo.TbLmtrepairCheckdetailVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.tb.lmt.domain.vo.TbLmtrepairWorkdetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 质量验收Mapper接口
 *
 * @author ruoyi
 * @date 2023-12-22
 */
@Mapper
public interface TbLmtrepairCheckdetailMapper extends BaseMapperPlus<TbLmtrepairCheckdetailMapper, TbLmtrepairCheckdetail, TbLmtrepairCheckdetailVo> {

    TbLmtrepairCheckdetailBo selectByLmtId(Long lmtId);

    List<TbLmtrepairWorkdetailVo> selectWorkHistoryList(@Param("id") String id, @Param("workKind") String workKind, @Param("workGroup")String workGroup , @Param("status")String status, @Param("startTime") Date startTime);

    boolean isStayById(@Param("id")Long id);

    Long selectIdByLmtWorkId(@Param("id")Long id);
}
